package ooday01.practise;

public class CarTest {
    public static void main(String[] args) {
        Car car1=new Car("奔驰",990000,CarColor.BLUE);
        car1.start();
        car1.run();
        car1.stop();
        System.out.println("-----------------");
        Car car2=new Car("宝马",450000,CarColor.WHITE);
        car2.start();
        car2.run();
        car2.stop();
    }
}
